﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace ElfTyping.Animations
{
    public class ChestAnimation : Animation
    {
        public ChestAnimation()
            : base(@"Textures\GameState\Chest", 6, 2f / 6)
        {
            Frames = new List<Rectangle>();
            for (int i = 0; i < 6; i++)
            {
                Frames.Add(new Rectangle(52 * i, 0, 52, 52));
            }

            SetAnimateOnce();
        }
    }
}
